package com.py.credit.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.py.credit.entity.CallAchievementsLog;
import com.py.credit.entity.CallInterfaceInfo;
import com.py.credit.entity.ReturnResultJson;
import com.py.framework.core.common.Page;

public interface CreditServerService {

	Map<String, Object> getModelByOffice(String serviceCode,Long deptId,String ztType);
	
	ReturnResultJson getMap(String modelId ,String ztName ,String ztDm);
	
	ReturnResultJson getMapOth(String ztName ,String ztDm);
	
	void insertCallInfo(CallInterfaceInfo callInfo);
	
	int insertFeedbackInfo(@Param(value="callbackUsage") String callbackUsage , @Param(value="checkcode") String checkcode);
	
	int insertCallInfos(List<CallInterfaceInfo> callInfos);
	
	List<Map<String, Object>> getAchievements(String ywId ,String ztType , Long deptId,List<String> columns, String[] additionalColumns, String conditions, Page page);
	
	void insertCallLog(CallAchievementsLog callLog);
	


}
